<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>管理员侧边栏</title>
    <link th:href="@{/css/bootstrap.css}" rel="stylesheet">
    <script th:src="@{/js/bootstrap.js}" rel="stylesheet"></script>
    <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@1.16.1/dist/umd/popper.min.js"></script>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            min-height: 100vh;
            background-color: #f8f9fa;
        }

        .sidebar {
            width: 250px;
            background-color: #343a40;
            padding: 20px;
            color: white;
            height: 100vh;
            position: fixed;
        }

        .sidebar h2 {
            color: #ffc107;
        }

        .sidebar a {
            color: #ffc107;
            text-decoration: none;
        }

        .sidebar a:hover {
            color: white;
            text-decoration: underline;
        }

        .content {
            flex: 1;
            margin-left: 250px;
            background-color: #ffffff;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th,
        td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }

        th {
            background-color: #343a40;
            color: white;
        }

        .btn-primary {
            background-color: #0777FFFF;
            border: none;
            color: black;
        }

        .btn-primary:hover {
            background-color: #0777FFFF;
            color: white;
        }
    </style>
</head>
<body>
<!-- Sidebar Navigation with User Information and Product Links -->

<div class="sidebar">
    <div>
        <h2><span th:text="销售系统后台"></span><br></h2>
        <br><a class="btn btn-primary" th:href="@{/user/tologin}">退出</a>
    </div>
    <hr>
    <ul class="nav flex-column">
        <li class="nav-item">
            <a class="nav-link" th:href="@{/allManageProduct}" th:target="_self">商品管理</a>
        </li>
        <hr>
        <div>
            <h2><span th:text="快递管理" style="color: #1b1e21"></span></h2>
        </div>
        <li class="nav-item">
            <a class="nav-link" th:href="@{/allOrdersFaHuo}" th:target="_self">已发货</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" th:href="@{/allOrdersIng}" th:target="_self">待发货</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" th:href="@{/allOrdersCancel}" th:target="_self">已取消</a>
        </li>
    </ul>

</div>
<div class="content">
    <!-- Your content goes here -->
</div>

</body>
</html>